package com.liu.designmode.proxy.iface;

import com.liu.designmode.proxy.annotations.Params;
import com.liu.designmode.proxy.annotations.Select;
import com.liu.designmode.proxy.bean.Employee;

import java.util.List;

public interface EmployeeMapper {

    @Select("select * from t_employee where name = #{name} and age = #{age}")
    public List<Employee> selectByNameAndAge(@Params("name") String name, @Params("age") String age);
}
